<?php

use Illuminate\Database\Seeder;

class addressTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        for ($i = 0; $i <10; $i++) {
            
            DB::table('address')->insert([
                'address' => "兄弟连3楼{$i}",
                'phone' => 13012345678,
                'link_man' => str_random(2),
                'uid' => "{$i}",
                'code' => 510000,
                'state' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                 'updated_at' => date('Y-m-d H:i:s')
            ]);
        }
    }
}
